<?php
$title = '收支';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<hr>
<table class="table table-hover table-striped">
    <tr>
        <th>付款时间</th>
        <th>付款额</th>
    </tr>
    <?php foreach ($this->balance as $key => $balance) { ?>
        <tr>
            <td><?php echo $balance['pay_time']; ?></td>
            <td><?php echo $balance['account']; ?></td>
        </tr>
    <?php } ?>
</table>